package com.lovo.consumerSys.serveice.impl;

import com.lovo.consumerSys.entity.ConsumerEntity;
import com.lovo.consumerSys.mapper.IConsumerMapper;
import com.lovo.consumerSys.mapper.IUserAddressMapper;
import com.lovo.consumerSys.serveice.IConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ConsumerServiceImpl implements IConsumerService {
    @Autowired
    private IUserAddressMapper userAddressMapper;
    @Autowired
    private IConsumerMapper consumerMapper;

    @Override
    public ConsumerEntity findAllInfo() {
       return consumerMapper.findAllInfo();
    }

    @Override
    public void updateConsumerInfo(long consumerId, ConsumerEntity consumerEntity) {

    }
}
